import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        redirect: '/Button'
    },
    {
        path: '/Button',
        component: () => import('@/views/Button')
    },
    {
        path: '/Input',
        component: () => import('@/views/Input')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router;